Skip to content

fix(AutoTradingAgent): support other providers#242

Merged
hazeone merged 2 commits intomainfrom
fix/auto_trading_agent_support_other_providers
Oct 29, 2025
Merged

fix(AutoTradingAgent): support other providers#242
hazeone merged 2 commits intomainfrom
fix/auto_trading_agent_support_other_providers

Conversation

@hazeone
Copy link
Contributor

@hazeone hazeone commented Oct 29, 2025

📝 Pull Request Template

Type of Change (select one)

Type of Change: Bug Fix Code Refactor

3. Description

  1. Support initiating a trade competition just using the SiliconFlow key.
    img_v3_02rh_1535b682-f159-42c5-af9b-aebc2243448g

  2. The agent.yml model includes a fallback (primary model, which must contain the provider key), a provider map, and the main model defined in provider.yml.

  primary:
    model_id: "google/gemini-2.5-flash"
    provider: "openrouter"
    # Provider-specific model mappings for fallback
    provider_models:
      siliconflow: "Qwen/Qwen3-235B-A22B-Thinking-2507"
      google: "gemini-2.5-flash"

4. Testing

  • I have tested this locally.
  • I have updated or added relevant tests.

5. Checklist

@hazeone hazeone requested review from DigHuang, su8su and vcfgv October 29, 2025 08:00
@hazeone hazeone added the bug Something isn't working label Oct 29, 2025
@hazeone hazeone marked this pull request as ready for review October 29, 2025 08:02
@hazeone hazeone merged commit aee0aab into main Oct 29, 2025
3 checks passed
@hazeone hazeone deleted the fix/auto_trading_agent_support_other_providers branch October 29, 2025 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants